package com.xunyin.modules.balance.service.mapper;

import com.xunyin.common.mapper.CoreMapper;
import com.xunyin.modules.balance.domain.MtBalance;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 余额变化表 Mapper 接口
 * <p>
 * Created by xunyinyunshang <3594419785@qq.com>
 * CopyRight 讯音云商 https://www.tonetn.com
 */
@Repository
public interface MtBalanceMapper extends CoreMapper<MtBalance> {

    @Select("select * from mt_balance o where o.ORDER_SN = #{orderSn}")
    List<MtBalance> getBalanceListByOrderSn(@Param("orderSn") String orderSn);


}
